import { ISysWarehouseLocation } from '/@/views/supplychain/syswarehouselocation/api/interface';
import { ISysMaterial } from '/@/views/supplychain/sysmaterial/api/interface';
import { ISysMaterialSku } from '/@/views/supplychain/sysmaterialsku/api/interface';
import { ISysWarehouse } from '/@/views/supplychain/syswarehouse/api/interface';

export interface ISysWarehouseStock {
	ID?: string | null;
	LocationId: null;
	Location?: ISysWarehouseLocation;
	MaterialId: null;
	Material?: ISysMaterial;
	Quantity: string | null;
	SkuId: null;
	Sku?: ISysMaterialSku;
	ErpId: string | null;
	BatchNumber: string | null;
	PartnerId: null;
	Partner?: ISysWarehouse;
	StoreType: '受托代销' | '客户来料' | '客户寄存' | '委托代销' | '设备' | '普通' | '备品' | '借出' | '赠品' | '其它' | '借入' | '供应商寄存';
}

export interface ISysWarehouseStockVm {
	Entity: ISysWarehouseStock;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;

}

export interface ISysWarehouseStockView extends ISysWarehouseStock {

}

export interface ISysWarehouseStockQuery {
	LocationId?: string | null;
	MaterialId?: string | null;
	MaterialName?: string | null;
	MaterialCode?: string | null;
	SkuId?: string | null;
	SkuName?: string | null;
	SkuCode?: string | null;
	ErpId?: string | null;
	BatchNumber?: string | null;
	PartnerId?: string | null;
	StoreType?: number | null;
}